/////////////////////////////////////////////////////////////////////////////
// Name:        CategoryListBox.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     11/12/2008 21:43:23
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _CATEGORYLISTBOX_H_
#define _CATEGORYLISTBOX_H_


/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class CategoryListBox;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_CATEGORY_LISTBOX 10011
#define SYMBOL_CATEGORYLISTBOX_STYLE wxLB_SINGLE|wxNO_BORDER
#define SYMBOL_CATEGORYLISTBOX_IDNAME ID_CATEGORY_LISTBOX
#define SYMBOL_CATEGORYLISTBOX_SIZE wxDefaultSize
#define SYMBOL_CATEGORYLISTBOX_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * CategoryListBox class declaration
 */

class CategoryListBox: public wxListBox
{    
    DECLARE_DYNAMIC_CLASS( CategoryListBox )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    CategoryListBox();
    CategoryListBox(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxArrayString& choices = wxArrayString(), long style = 0, const wxValidator& validator = wxDefaultValidator);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, const wxArrayString& choices = wxArrayString(), long style = 0, const wxValidator& validator = wxDefaultValidator);

    /// Destructor
    ~CategoryListBox();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin CategoryListBox event handler declarations

    /// wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_CATEGORY_LISTBOX
    void OnSelected( wxCommandEvent& event );

////@end CategoryListBox event handler declarations

////@begin CategoryListBox member function declarations

////@end CategoryListBox member function declarations

////@begin CategoryListBox member variables
////@end CategoryListBox member variables
public:
	virtual void ShowCategories();
	
	wxArrayString default_items;
};

#endif
    // _CATEGORYLISTBOX_H_
